home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
help_sz
/
strsplt
< prev
next >
Wrap
Text File
|
1995-02-04
|
568b
|
28 lines
strsplt:
Syntax: strsplt ( STR )
strsplt ( STR , FW )
Description:
Strsplt returns a row matrix that contains a single character
string as each element. The resulting matrix has as many
columns as the input argument had characters.
Example:
> smat = strsplt( "string" )
smat =
s t r i n g
> show(smat)
name: smat
class: matrix
type: string
nr: 1
nc: 6
The second, and optional, argument to strsplt, FW forces
strsplt to split STR into FW length strings.
See also: getline